package com.ruoyi.info.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 签到列表对象 fh_info_signinlist
 * 
 * @author ruoyi
 * @date 2024-11-09
 */
@ApiModel(value = "FhInfoSigninlist",description = "用户签到列表实体")
public class FhInfoSigninlist extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 用户id */
//    @ApiModelProperty("用户id")
    @Excel(name = "用户id")
    private Long userId;

    /** 连续签到天数 */
    @ApiModelProperty("连续签到天数")
    @Excel(name = "连续签到天数")
    private Long singinDay;

    /** 上一次签到日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "上一次签到日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date singinDate;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date crateTime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setSinginDay(Long singinDay) 
    {
        this.singinDay = singinDay;
    }

    public Long getSinginDay() 
    {
        return singinDay;
    }
    public void setSinginDate(Date singinDate) 
    {
        this.singinDate = singinDate;
    }

    public Date getSinginDate() 
    {
        return singinDate;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setCrateTime(Date crateTime) 
    {
        this.crateTime = crateTime;
    }

    public Date getCrateTime() 
    {
        return crateTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("singinDay", getSinginDay())
            .append("singinDate", getSinginDate())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("crateTime", getCrateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
